import request from '@/utils/request';
import type { ResponseBaseData } from '@/api/model/baseModel';
const basePath = 'appsys/themes/SysThemesSkinsRest';

/** 获取角色列表 */
export function getThemeByUser(userId): Promise<ResponseBaseData<any>> {
  return request({
    url: `${basePath}/getPortalConfigByUserId/${userId}/v1`,
    method: 'post'
  });
}
